﻿#ifndef REGISTER_H
#define REGISTER_H

#include <QDialog>
#include <QMessageBox>
#include <QPainter>
#include <Qpaintevent>
#include "sqlite.h"
namespace Ui {
class Register;
}

class Register : public QDialog
{
    Q_OBJECT

public:
    explicit Register(QWidget *parent = nullptr);
    ~Register();

signals:
    void reaback();
public:
    void paintEvent(QPaintEvent *event);
private slots:
    void on_pb_reg_clicked();

    void on_pb_reback_clicked();


private:
    Ui::Register *ui;
    Sqlite *m_ptrSql;
};

#endif // REGISTER_H
